package com.ruoyi.celoan.request;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.ruoyi.celoan.entity.ExTradeEffectFinancingrequirementsDetailEntity;
import com.xmsme.base.sdk.request.HttpMethod;
import com.xmsme.base.sdk.JsonMapper;
import com.xmsme.base.sdk.request.AbstractApiRequest;
import com.xmsme.base.sdk.request.EncryptRequest;
import com.xmsme.base.sdk.response.StatisticsPostResponse;

import java.util.List;
public class ExTradeEffectFinancingrequirementsDetailRequest
extends AbstractApiRequest<StatisticsPostResponse>
implements EncryptRequest
{
private List<ExTradeEffectFinancingrequirementsDetailEntity> statistics;
public ExTradeEffectFinancingrequirementsDetailRequest(List<ExTradeEffectFinancingrequirementsDetailEntity> statistics) {
super("融资需求信息回传接口", "/api/upload/financingRequirements", HttpMethod.POST);
this.statistics = statistics;
}
public String getParams() throws JsonProcessingException {
System.out.println("上传参数::::::" + JsonMapper.get().writeValueAsString(this.statistics));
return JsonMapper.get().writeValueAsString(this.statistics);
}
public Class<StatisticsPostResponse> getResponseClass() {
return StatisticsPostResponse.class;
}
}


/* Location:              D:\tuodayun\workspace\work\celoan-third-data-report-service-2.0.0-SNAPSHOT.jar!\BOOT-INF\classes\com\celoan\request\ExTradeEffectFinancingrequirementsDetailRequest.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */
